<nz-card [nzBodyStyle]="{ padding: '12px 12px 0px 12px' }" [nzBordered]="false" class="card-table"
				 style="min-height: calc(100vh - 200px)">
	<st
		#st
		[size]="'small'"
		class="hover-table fix-table st-odd-table"
		[resizable]="true"
		[scroll]="{ y: 'calc(100vh - 220px)' }"
		[data]="dataList"
		[columns]="columns"
		[page]="pageSetting"
		[total]="this.pageInfo.total"
		[ps]="this.pageInfo.size"
		[pi]="this.pageInfo.current"
		[loading]="this.pageInfo.loading"
		(change)="stChange($event)"
		[clickRowClassName]="sa"
		[footer]="total"
	>
		<ng-template st-row="isSafeProduction" let-item>
			<div
				style="margin: auto"
				[ngClass]="{ 'pass-icon': item?.isSafeProduction === 'Y', 'ban-icon': item?.isSafeProduction !== 'Y' }"
			></div>
		</ng-template>
		<ng-template #total >
			<div class="flex w-full">
				<div class="flex w-full justify-end gap-5">
					<div class="flex">总作业前件吨：{{ totalData?.oriTallyPiece }} / {{ totalData?.oriTallyTon }}</div>
					<div class="flex">总作业后件吨：{{ totalData?.toTallyPiece }} / {{ totalData?.toTallyTon }}</div>
					<div class="flex">总检算作业前件吨：{{ totalData?.checkOriPiece }} / {{ totalData?.checkOriTon }}</div>
					<div class="flex">总检算作业后件吨：{{ totalData?.checkToPiece }} / {{ totalData?.checkToTon }}</div>
				</div>
			</div>
		</ng-template>
	</st>
</nz-card>
